/**
 * @description:
 * @author: 陈洋~大少
 * @time: 2021年07月16日 13:08
 */
package com.gxa.luckin.core.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 *@description:商品品類表
 *@author: 陈洋~大少
 *@time: 2021年07月16日 13:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_strain")
@ApiModel("商品的品类表")
public class Strain implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "strain_id")
    @ApiModelProperty(name = "id", value = "品类编号id")
    private Long id;
    @Column(name = "strain_name")
    @ApiModelProperty(name = "title", value = "品类名称")
    private String name;
    @Column(name = "strain_pid")
    @ApiModelProperty(name = "pid", value = "店面id")
    private Integer pid;
}
